Protection from Energy
3rd-Level Abjuration Spell (Cleric, Druid, Ranger, Sorcerer, Wizard)
Casting Time: Action
Range: Touch
Components: V, S
Duration: 1 hour
For the duration, the willing creature you touch has to one damage type of your choice: Acid, Cold, Fire, Lightning, or Thunder.
Source: Player's Handbook, p. 309